package com.alibaba.citrus.ots.unified.inventory.dto.api.request;

import java.util.Date;
import java.util.List;

import com.alibaba.citrus.ots.unified.inventory.dto.api.response.AllocateOrderScItemDetailDTO;

import lombok.Data;

/**
 * @description: 销售订单/退单/更改
 * @author: yuhw
 * @date: 2021年09月27日 19:25
 **/
@Data
public class AllocateOrderSalesOrderUpdateRequest {

    /**
     * 调拨单号
     */
    private String code;
    /**
     * 调拨单外部单号 关联sap
     */
    private String outAllocateApplyOrderId;
    /**
     * 外部调拨单号 关联sap
     */
    private String outAllocateOrderId;
    /**
     * 调拨预报单id
     */
    private Long allocateApplyOrderId;
    /**
     * 调拨预报单号
     */
    private String allocateApplyOrderCode;
    /**
     * 提报组织id
     */
    private String applyOrgId;
    /**
     * 收货仓库id
     */
    private String receiveWareHouseId;
    /**
     * 收货货区
     */
    private String receiveAreaId;
    /**
     * 发货仓库id
     */
    private String shipWareHouseId;
    /**
     * 发货货区id
     */
    private String shipAreaId;
    /**
     * 产品组
     */
    private String productGroup;
    /**
     * sap渠道
     */
    private String sapChannel;
    /**
     * 客户
     */
    private String customer;
    /**
     * 是否为退单
     */
    private Boolean returnOrder;
    /**
     * 总部成本中心
     */
    private String sapCostCenterId;
    /**
     * 客户采购参考号
     */
    private String sapRefPoNo;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 确认时间
     */
    private Date confirmTime;
    /**
     * 完成时间
     */
    private Date completeTime;
    /**
     * 装运方式
     */
    private Integer shipMethod;
    /**
     * 合计数量
     */
    private String totalQuantity;
    /**
     * 折扣
     */
    private String discount;
    /**
     * 合计金额
     */
    private String totalAmount;
    /**
     * 是否需要还货
     */
    private Boolean sendBackRequired;

    /**
     * 发货数量
     */
    private String shipQuantity;
    /**
     * 收货数量
     */
    private String receiveQuantity;
    /**
     * 预计到货日期
     */
    private Date expectedReceiveTime;
    /**
     * 状态
     */
    private String status;

    /**
     * 创建人
     */
    private String founder;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 备注
     */
    private String remark;
    /**
     * 确认数量
     */
    private String confirmQuantity;
    /**
     * 单据日期
     */
    private String docDate;

    /**
     * 最后更新人
     */
    private String lastUpdateUser;

    private String orderReason;
    /**
     * 调拨单货品明细
     */
    private List<AllocateOrderScItemDetailDTO> allocateOrderScItemDetails;











    private String allocateOrderId;
    private String orderType;
    private String saleOrganizationCode;
    private String productGroupCode;
    private String saleChannel;
    private String saleDepartmentCode;
    private String modifier;
    private String createDate;
    private String modifyDate;
    private String docTime;
    private String soldPartCode;
    private String deliveryPartCode;
    private String factoryCode;
    private String inventoryCode;
    private String expectedDeliveryTime;
    private String shipType;
    private String customerReferenceNo;
    private String costCenter;
    private String features;

    private List<AllocateOrderSalesOrderUpdateScItemDetail> scItemDetails;



}
